Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parentStyle must not be null #923

Merged
merged 1 commit into from
Aug 27, 2020

Conversation

mzorz
Copy link
Contributor

@mzorz mzorz commented Aug 25, 2020

Closes #831

Fix

When we reverted this here #882, we unintentionally also removed the fix in #832, because it was stack-added on purpose as explained in this conversation (we could only get to properly test the conditions for #834 with monkeys when that patch was first in place).

This PR just cherry-picks the original commit to restore things.

Copying from the original PR #832:

Just added a null check that prevents a crash from happening. The formatting will not be added if such a condition is met, but that's far better than crashing.

Test

No testing needed, but you can run the monkeys to verify (could follow the steps provided in #834)

Make sure strings will be translated:

  • If there are new strings that have to be translated, I have added them to the client's strings.xml as a part of the integration PR.

@mzorz mzorz requested review from maxme, hypest and marecar3 August 25, 2020 13:59
Copy link
Contributor

@maxme maxme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to have been reverted unintentionally in #882 - this is the same patch as #832 (I ran the monkeys in the sample app before the patch and couldn't trigger the crash.)

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash: IllegalStateException: parentStyle must not be null
2 participants